<!DOCTYPE html>
<html>

<head>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.3.0/video-js.min.css" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.3.0/video.min.js"></script>

</head>

<body>
    <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="800" height="600"
        poster="http://vjs.zencdn.net/v/oceans.png">
        <source src="http://localhost:8080/stream" type="video/mp4">
    </video>

</body>
<script>
    var player = videojs('example_video_1', {
        muted: true,
        controls: true / false,
        height: 600,
        width: 800,
        loop: true,
        // 更多配置.....
    });

</script>

</html>